<?
include_once '../includes/config.php';
//$terapeuta = new Terapeuta();
Outlet::init(include '../frameworkPersistencia/outlet-config.php');
$outlet = Outlet::getInstance();
$conn = $outlet->getConnection();

//$terapeuta->id= 4;
//$terapeuta->nombre = 'Pepe';
//$terapeuta->apellido = 'Gonzalez';
//$terapeuta->numero_doc = 1;
//$terapeuta->cuit = '20258652984';
//$terapeuta->email = '@';
//$terapeuta->telefono = '33355';
//$terapeuta->tipo_doc = 2;
//$outlet->createProxies();
$TipoDoc = $outlet->load("TipoDocumento", 1 );
var_dump($TipoDoc);
//echo $TipoDoc->id;
//$TipoDoc->setNombre("DNII");
//$conn->beginTransaction();
//$outlet->save($TipoDoc);
//$conn->commitTransaction();
//$kk = $outlet->select('TipoDocumento');
//foreach($kk as $k) {
//    echo $k->id;
//}

?>